<template>
  <div class="container">
    <web-view :src="src">
    </web-view>
  </div>
</template>


<script>
import common from "@/assets/js/mmk_common.js";
export default {
  data () {
    return {
      src: ""
    };
  },

  onLoad (options) {
    Object.assign(this.$data, this.$options.data());
    if (options.type == 1) {
      // 提现协议
      // this.src = "https://h5.ameimeika.com/user_agreement.html";
      // this.src = "https://h5.ameimeika.com/user_agreement.html";
      this.src = "https://h5s.ameimeika.com/user_agreement.html"
    }
    if (options.type == 2) {
      // 用户协议
      this.src = "https://h5.ameimeika.com/my_user_agreement.html";
    }
  }
};
</script>
